package com.zj.log.service.impl;

import com.zj.log.domain.Log;
import com.zj.log.repository.LogRepository;
import com.zj.log.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: zj
 * @Date: 2019/2/3 21:46
 * @Description:
 */
@Service
public class LogServiceImpl implements LogService{

    @Autowired
    LogRepository logRepository;

    @Override
    public void saveOrUpdate(Log log) {
        logRepository.save( log );
    }
}
